﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interpreter.TableBuilder
{
	internal class IntegerTableBuilder
	{
		public static int[] GetTable(string rawTable)
		{
			string[] entries = Util.SmartSplit(rawTable, '|');
			int[] output = new int[entries.Length];
			for (int i = 0; i < output.Length; ++i)
			{
				output[i] = Util.ConvertFromHex(entries[i]);
			}

			return output;
		}
	}
}
